// 将应用挂载到一个 DOM 元素上
// 只在浏览器中运行
import { createApp } from './main.js'
const { app, store, router } = createApp('client')

router.isReady().then(() => {
	if (window.__INITIAL_STATE__) {
		store.replaceState(window.__INITIAL_STATE__)
	}

	app.mount('#app')
})
